package com.martin.lib_base.ui.theme

import androidx.compose.foundation.background
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.unit.dp

// 数据背景
val CommonDataLayout = Modifier
    .fillMaxWidth()
    .padding(start = 15.dp, end = 15.dp)
    .background(color = Color.White, shape = RoundedCornerShape(4.dp))
    .padding(15.dp)

// 数据列表背景
val CommonDataListLayout = Modifier
    .fillMaxWidth()
    .padding(start = 15.dp, end = 15.dp)
    .background(color = Color.White, shape = RoundedCornerShape(4.dp))
    .padding(horizontal = 15.dp)